package com.hdax.dm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hdax.dm.dto.UserDto;
import com.hdax.dm.dto.TicketbuyerDto;
import com.hdax.dm.entity.user.DmLinkUser;
import com.hdax.dm.utils.response.CommonResponse;

import java.util.List;

public interface LinkUserService  extends IService<DmLinkUser> {


    CommonResponse<List<TicketbuyerDto>> ticketbuyerlist(Integer uid);

    CommonResponse<DmLinkUser> validatebuyerexist(String idCard);

    CommonResponse<Integer> addticketbuyer(DmLinkUser linkUser,Integer uid);

    CommonResponse<Integer> deleteticketbuyer(Integer id);

    DmLinkUser linkUserOne(Long linkUserId,Long userId);

}
